<?php

namespace app\controllers;

use app\models\NoticeModel;
use app\controllers\BaseController;
use app\models\User;
use wpjCode\wii\GiiAsset;
use yii\filters\VerbFilter;
use yii\filters\AccessControl;

/**
 * [CRUD]操作控制器
 */
class TestController extends BaseController
{

    public function actionLogin()
    {

        return \Yii::$app->user->login(User::findIdentity('5d6239e247bdc0533f367031'),
            1 ? 3600 * 24 * 30 : 20);
    }

}
